|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jade.wrapper.Agent
This class is a Proxy class, allowing access to a JADE agent.
Invoking methods on instances of this class, it is possible to
trigger state transition of the agent life cycle. This class must
not be instantiated by applications. Instead, use the
createAgent() method in class
AgentContainer.
throws NotFoundException, StaleProxyException| Method Summary | |
void |
activate()
Triggers a state transition from SUSPENDED to ACTIVE. |
void |
clone(Location where,
java.lang.String newName)
Clones the current agent. |
void |
delete()
Triggers a state transition from ACTIVE to DELETED. |
void |
move(Location where)
Triggers a state transition from ACTIVE to TRANSIT. |
void |
start()
Triggers a state transition from INITIATED to ACTIVE. |
void |
suspend()
Triggers a state transition from ACTIVE to SUSPENDED. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public void start()
throws StaleProxyException
public void suspend()
throws StaleProxyException
public void activate()
throws StaleProxyException
public void delete()
throws StaleProxyException
public void move(Location where)
throws StaleProxyException
where - A Location object, representing the
container the agent should move to.
public void clone(Location where,
java.lang.String newName)
throws StaleProxyException
where - The Location object, representing the
container where the new agent copy will start.newName - The new nickname to give to the copy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||